package com.yxw.live_vod_backend_boot.entity;



import com.baomidou.mybatisplus.annotation.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
//import lombok.EqualsAndHashCode;



/*** 
*@author Jiaxu.Huang
*@date 2023/12/5 16:31:56
*@update 2023/12/5 16:31:56
**/
@Data
@NoArgsConstructor
@TableName("yx_live_violation")
//@EqualsAndHashCode(callSuper = true)
public class YxLiveViolationEntity   implements Serializable
{
    private static final long serialVersionUID = 61701765116910L;
    /**
    *违规Id
    */
    @TableId(value = "violation_id",type = IdType.AUTO)
    @ApiModelProperty(value = "违规Id")
    private Integer Id;
    /**
    *违规原因
    */
    @TableField("violation_reson")
    @ApiModelProperty(value = "违规原因")
    private String violationReson;
    /**
    *违规说明
    */
    @TableField("violation_descrption")
    @ApiModelProperty(value = "违规说明")
    private String violationDescrption;
    /**
    * 处罚类别:0罚款,1直播流,2直播间
    */
    @TableField("punish_type")
    @ApiModelProperty(value = " 处罚类别:0视频币罚款,1直播流中断,2直播间禁播")
    private Integer punishType;
    /**
    * 处罚数量
    */
    @TableField("punish_quantity")
    @ApiModelProperty(value = " 处罚数量")
    private Integer punishQuantity;
    /**
    * 处罚单位: (处罚类别为0罚款)视频币,(处罚类别为1直播流,中断直播)分钟,(处罚类别为2直播间,禁播)天
    */
    @TableField("punish_unit")
    @ApiModelProperty(value = " 处罚单位: (处罚类别为0罚款)视频币,(处罚类别为1直播流,中断直播)分钟,(处罚类别为2直播间,禁播)天")
    private String punishUnit;
    /**
    *创建时间
    */
    @TableField("create_time")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
    /**
    *修改时间
    */
    @TableField("update_time")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
}

